Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@babel/plugin-transform-export-namespace-from
Advanced tools
Compile export namespace to ES2015
The @babel/plugin-transform-export-namespace-from package is a Babel plugin that allows developers to use the export * as syntax in their JavaScript code, which is part of the ECMAScript 2020 (ES2020) specification. This syntax enables the re-exporting of all named exports from another module under a single namespace object.
Namespace export transformation
This feature allows you to re-export all named exports from a module as a single namespace object. It's useful for creating a single object that encapsulates all exports from a module, which can then be used elsewhere in your code.
export * as ns from './module';
This package is a proposal plugin for Babel that adds support for the export * as syntax before it was officially included in the ECMAScript specification. It serves a similar purpose to @babel/plugin-transform-export-namespace-from but is intended for use during the proposal stage.
This Babel plugin adds support for the export-from extension syntax, which includes export * as syntax as well as other export extensions. It's a broader plugin that encompasses the functionality of @babel/plugin-transform-export-namespace-from along with additional export-related transformations.
Compile export namespace to ES2015
See our website @babel/plugin-transform-export-namespace-from for more information.
Using npm:
npm install --save-dev @babel/plugin-transform-export-namespace-from
or using yarn:
yarn add @babel/plugin-transform-export-namespace-from --dev
v7.25.9 (2024-10-22)
babel-parser
, babel-template
, babel-types
syntacticPlaceholders
mode (@liuxingbaoyu)babel-helper-compilation-targets
, babel-preset-env
ClassAccessorProperty
to prevent the no-undef
rule (@victorenator)babel-parser
, babel-types
VISITOR_KEYS
etc. faster to access (@liuxingbaoyu)FAQs
Compile export namespace to ES2015
The npm package @babel/plugin-transform-export-namespace-from receives a total of 14,480,044 weekly downloads. As such, @babel/plugin-transform-export-namespace-from popularity was classified as popular.
We found that @babel/plugin-transform-export-namespace-from demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.